package com.ruoyi.game.mapper;

import java.util.List;
import com.ruoyi.game.domain.GameEcpmRecord;

/**
 * ECPM记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-03-22
 */
public interface GameEcpmRecordMapper 
{
    /**
     * 查询ECPM记录
     * 
     * @param ecpmId ECPM记录主键
     * @return ECPM记录
     */
    public GameEcpmRecord selectGameEcpmRecordByEcpmId(Long ecpmId);

    /**
     * 查询ECPM记录列表
     * 
     * @param gameEcpmRecord ECPM记录
     * @return ECPM记录集合
     */
    public List<GameEcpmRecord> selectGameEcpmRecordList(GameEcpmRecord gameEcpmRecord);

    /**
     * 新增ECPM记录
     * 
     * @param gameEcpmRecord ECPM记录
     * @return 结果
     */
    public int insertGameEcpmRecord(GameEcpmRecord gameEcpmRecord);

    /**
     * 修改ECPM记录
     * 
     * @param gameEcpmRecord ECPM记录
     * @return 结果
     */
    public int updateGameEcpmRecord(GameEcpmRecord gameEcpmRecord);

    /**
     * 删除ECPM记录
     * 
     * @param ecpmId ECPM记录主键
     * @return 结果
     */
    public int deleteGameEcpmRecordByEcpmId(Long ecpmId);

    /**
     * 批量删除ECPM记录
     * 
     * @param ecpmIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGameEcpmRecordByEcpmIds(Long[] ecpmIds);
}
